<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
    <!-- 幻灯片s -->
      <div id="Slideshow">
      <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=87e0a1982ca7ccaf69a65439e6839f0e&action=position&posid=1&catid=13&order=listorder+DESC&thumb=1&num=5&moreinfo=1&return=scrollImg\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'position')) {$scrollImg = $content_tag->position(array('posid'=>'1','catid'=>'13','order'=>'listorder DESC','thumb'=>'1','moreinfo'=>'1','limit'=>'5',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
          <ul class="pics">
          <?php $n=1;if(is_array($scrollImg)) foreach($scrollImg AS $Img) { ?>
                <li>
                     <a href="<?php echo $Img['url'];?>"><img src="<?php echo $Img['thumb'];?>" /></a>
                </li>
          <?php $n++;}unset($n); ?>
          </ul>
          <a class="prev" href="javascript:void(0)"></a>
          <a class="next" href="javascript:void(0)"></a>
          <div class="num">
              <ul></ul>
           </div>
      </div>
        <script type="text/javascript">
        /*鼠标移过，左右按钮显示*/
        $("#Slideshow").hover(function(){
          $(this).find(".prev,.next").fadeTo("show",0.1);
        },function(){
          $(this).find(".prev,.next").hide();
        })
        /*鼠标移过某个按钮 高亮显示*/
        $(".prev,.next").hover(function(){
          $(this).fadeTo("show",0.7);
        },function(){
          $(this).fadeTo("show",0.1);
        })
        $("#Slideshow").slide({ titCell:".num ul" , mainCell:".pics" , effect:"fold", autoPlay:true, delayTime:700 , interTime:4000, autoPage:true });
        </script>
      <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=771da2005ec30402454b1503d22d6cce&sql=select+%2A+from+phpcms_category+where+parentid+%3D+0+and+modelid%3D3+and+isindexcol%3D1+order+by+listorder+ASC%2Ccatid+ASC&return=picArr\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("select * from phpcms_category where parentid = 0 and modelid=3 and isindexcol=1 order by listorder ASC,catid ASC LIMIT 20");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$picArr = $a;unset($a);?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      <?php $pic1 = $picArr[0];?><!-- 产品中心 -->
      <?php $pic2 = $picArr[1];?><!-- 客户案例 -->
      <?php $pic3 = $picArr[2];?><!-- 针对产品 -->
      <?php $pic4 = $picArr[3];?><!-- 企业荣誉 -->
      <?php if($pic1) { ?>
      <div class="home--products-category animated fadeIn">
      	   <div class="container">
      	   	    <div class="partials--module-title">
      	   	    	<span class="left">产品</span>
      	   	    	<span class="right">分类</span>
      	   	    	<div class="divider"></div>
      	   	    </div>
      	   	    <div class="partials--module-title-slogan">个性定制随心所欲
      	   	    </div>
                <?php $pic1id = $pic1['catid'];?>
                <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=0a1bc0e60037867fa30e8122f10d39b5&sql=select+%2A+from+phpcms_category+where+parentid%3D%24pic1id++%0D%0A++++++++++++++++and+modelid%3D3+and+isindexguide%3D1+order+by+listorder+ASC&return=picCatArr\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("select * from phpcms_category where parentid=$pic1id  
                and modelid=3 and isindexguide=1 order by listorder ASC LIMIT 20");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$picCatArr = $a;unset($a);?>
                <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      	   	    <ul class="list">
                <?php $n=1;if(is_array($picCatArr)) foreach($picCatArr AS $pic1cat) { ?>
      	   	    	<li class="item">
      	   	    		<img src="<?php echo $pic1cat['image'];?>" class="picture" alt="">
      	   	    		<span class="name"><?php echo $pic1cat['catname'];?></span>
      	   	    		<p class="intro">详细介绍 <?php echo $pic1cat['description'];?></p>
      	   	    		<a class="detail-link" href="<?php echo $pic1cat['url'];?>">查看详情</a>
      	   	    	</li>
      	   	    	<?php $n++;}unset($n); ?>
      	   	    	<li class="item justify-left-fix"></li>
      	   	    	<li class="item justify-left-fix"></li>
      	   	    	<li class="item justify-left-fix"></li>
      	   	    </ul>
      	   </div>
    </div>
    <div class="home--products  animated fadeIn">
      	   <style id="home--products-sidebar-header" scoped>
      	        .home--products .sidebar > .header:before,.home--products .sidebar > .header:after{border-left-width: 160px;}
      	   </style>
      	   <div class="container">
      	   	    <div class="sidebar">
      	   	    	<div class="header">
      	   	    		<h1 class="zh">产品直通车</h1>
      	   	    		<h2 class="en">PRODUCT</h2>
      	   	    	</div>
                  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=c92b8e56d1d0fca6f09ac5d2654fb5ac&action=category&catid=%24pic1id&siteid=%24siteid&num=8&return=pic1CateArr2\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$pic1CateArr2 = $content_tag->category(array('catid'=>$pic1id,'siteid'=>$siteid,'limit'=>'8',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      	   	    	<ul class="list">
                  <?php $n=1;if(is_array($pic1CateArr2)) foreach($pic1CateArr2 AS $pic1cat) { ?>
                    <?php if($n==1) { ?>
                    <?php $arr[] = $pic1cat;?>
                    <?php } ?>
      	   	    		<li class="item">
      	   	    			<a href="<?php echo $pic1cat['url'];?>"><?php echo $pic1cat['catname'];?></a>
      	   	    		</li>
      	   	      <?php $n++;}unset($n); ?>
      	   	    	</ul>
      	   	    	<div class="footer">
      	   	    		<img class="background" src="<?php echo SKIN_PATH;?>images/sidebar-footer-background.jpg" alt="">
      	   	    		<label for="">全国服务热线</label>
                    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7f38cc082ff652c1afa14c9d8938fbcc&action=getOne&fields=content&where=id+eq+7&name=news_data&limit=1&return=r_hotTel\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'getOne')) {$r_hotTel = $content_tag->getOne(array('fields'=>'content','where'=>'id eq 7','name'=>'news_data','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      	   	    	    <span class="phone"><?php echo $r_hotTel['content'];?></span>
      	   	    	</div>
      	   	    </div>
      	   	    <div class="products">
      	   	    	<h1 class="category-name">
                  <?php echo $arr['0']['catname'];?>
      	   	    	</h1>
                  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=2c78588196a50588ce9cd52e1d76849e&action=lists&catid=%24arr%5B0%5D%5B%27catid%27%5D&num=1&siteid=%24siteid&order=id+DESC&return=pclist\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pclist = $content_tag->lists(array('catid'=>$arr[0]['catid'],'siteid'=>$siteid,'order'=>'id DESC','limit'=>'1',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                  <?php $n=1;if(is_array($pclist)) foreach($pclist AS $ps) { ?>
      	   	    	<div class="detail">
      	   	    		<a class="l-left" href="<?php echo $ps['url'];?>">
      	   	    			<img class="first-product" src="<?php echo $ps['thumb'];?>" alt="">
      	   	    		</a>
      	   	    		<div class="l-right">
      	   	    			<h1 class="title">产品名称 :<?php echo $ps['title'];?></h1>
      	   	    			<p class="intro">
      	   	    				<br>详细介绍<br><?php echo $ps['description'];?>			
                      </p>
      	   	    			<ul class="link-list">
      	   	    				<li class="item is-active">
      	   	    					<a href="<?php echo $ps['url'];?>" class="link">我要购买</a>
      	   	    				</li>
      	   	    				<li class="item">
      	   	    					<a href="<?php echo $ps['url'];?>" class="link">了解详情</a>
      	   	    				</li>
      	   	    				<li class="item">
      	   	    					<a href="<?php echo $arr['0']['url'];?>" class="link">了解详情</a>
      	   	    				</li>
      	   	    			</ul>
      	   	    		</div>
      	   	    	</div>
                  <?php $n++;}unset($n); ?>
      	   	    	<div class="partials--slids">
                      <div class="picScroll">
                          <div class="tempWrap">
                          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=988ee45d75139c4fb10842a7bdf2df82&action=lists&catid=%24arr%5B0%5D%5B%27catid%27%5D&siteid=%24siteid&order=id+DESC&return=pclist2\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pclist2 = $content_tag->lists(array('catid'=>$arr[0]['catid'],'siteid'=>$siteid,'order'=>'id DESC','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                              <ul>
                              <?php $n=1;if(is_array($pclist2)) foreach($pclist2 AS $pc2) { ?>
                                  <li>
                                     <a href="<?php echo $pc2['url'];?>" title="<?php echo $pc2['title'];?>">
                                     <img src="<?php echo $pc2['thumb'];?>" alt="" title="<?php echo $pc2['title'];?>" width="196px" height="140px;"></a>
                                  </li>
                                  <?php $n++;}unset($n); ?>         
                              </ul>
                          </div>
                           <a class="prev prevStop"><</a>
                           <a class="next">></a>
	                    </div>
                      
                  </div>
                  <script type="text/javascript">jQuery(".picScroll").slide({ mainCell:"ul",autoPlay:true,effect:"left", vis:3, scroll:1, autoPage:true, pnLoop:false });</script>      	   	    
      	   </div>
    </div>
    <?php } ?>
    <div class="home--banner animated fadeIn">
      	   <div class="container">
      	   	   <div class="background"></div>
      	   	   <img class="product" src="<?php echo SKIN_PATH;?>images/product.png" alt="">
      	   	   <div class="slogan">
      	   	   	    <p class="l-top">八年专注磨床自动化 3000位客户见证</p>
      	   	   	    <p class="l-bottom">全方位、个性化的自动化解决方案</p>
      	   	   </div>
      	   </div>
    </div>
  <?php if($pic2) { ?>
    <div class="home--business-case animated fadeIn">
      	   <div class="container">
      	   	    <div class="slogan">
      	   	    	<p class="zh"><?php echo $pic2['description'];?></p>
      	   	    	<p class="en"><?php echo $pic2['catdir'];?></p>
      	   	    </div>
      	   	    <div class="divider">
      	   	    	<a class="more" href="<?php echo $pic2['url'];?>">更多+</a>
      	   	    </div>
                <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=a7a768b1db7521b11dcd2c54ec837e90&action=lists&catid=%24pic2%5B%27catid%27%5D&siteid=%24siteid&num=10&oreder=id+DESC&return=caseArr\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$caseArr = $content_tag->lists(array('catid'=>$pic2['catid'],'siteid'=>$siteid,'oreder'=>'id DESC','limit'=>'10',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      	   	    <ul class="case">
                <?php $n=1;if(is_array($caseArr)) foreach($caseArr AS $case) { ?>
      	   	    	<li class="item">
      	   	    		<a class="picture" href="<?php echo $case['url'];?>">
      	   	    			<img src="<?php echo $case['thumb'];?>" alt="">
      	   	    		</a>
      	   	    		<h1 class="name"><?php echo $case['title'];?></h1>
      	   	    	</li>
      	   	     <?php $n++;}unset($n); ?>
      	   	    	<li class="item justify-left-fix"></li>
      	   	    	<li class="item justify-left-fix"></li>
      	   	    	<li class="item justify-left-fix"></li>
      	   	    	<li class="item justify-left-fix"></li>
      	   	    </ul>
      	   </div>
    </div>
    <?php } ?>
    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=9751e742716e8de42b8d1a54212a0c82&sql=select+%2A+from+phpcms_category+where+parentid+%3D+0+and+modelid%3D0+and+isindexcol%3D1+order+by+listorder+ASC%2Ccatid+ASC&return=PageArr\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("select * from phpcms_category where parentid = 0 and modelid=0 and isindexcol=1 order by listorder ASC,catid ASC LIMIT 20");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$PageArr = $a;unset($a);?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
    <?php $page1 = $PageArr[0];?>
    <?php $page2 = $PageArr[1];?>
    <?php if($page2) { ?>
    <div class="home_why_choose">
      	   <div class="container">
      	   	    <ul class="slogan">
      	   	    	<li class="item">
      	   	    		<span class="why">WHY</span>
      	   	    	</li>
      	   	    	<li class="item">
      	   	    		<p class="choose-en">CHOOSE</p>
      	   	    		<p class="choose-zh">为什么要选择赢世</p>
      	   	    	</li>
      	   	    	<li class="item">
      	   	    		<span class="symbol">?</span>
      	   	    	</li>
      	   	    </ul>
      	   	    <ul class="advantages">
      	   	    	<li class="item">
      	   	    		<div class="icon">
      	   	    			<img src="<?php echo SKIN_PATH;?>images/gears-64x64.png" alt="">
      	   	    		</div>
      	   	    		<h1 class="title">量身定制</h1>
      	   	    		<p class="intro">满足需求    想变就变</p>
      	   	    		<a class="link" href="<?php echo $page2['url'];?>">立即咨询</a>
      	   	    	</li>
      	   	    	<li class="item">
      	   	    		<div class="icon">
      	   	    			<img src="<?php echo SKIN_PATH;?>images/diamond-64x64.png" alt="">
      	   	    		</div>
      	   	    		<h1 class="title">专利技术</h1>
      	   	    		<p class="intro">拥有多项专利技术, 出口欧美</p>
      	   	    		<a class="link" href="<?php echo $page2['url'];?>">立即咨询</a>
      	   	    	</li>
      	   	    	<li class="item">
      	   	    		<div class="icon">
      	   	    			<img src="<?php echo SKIN_PATH;?>images/improvement-64x64.png" alt="">
      	   	    		</div>
      	   	    		<h1 class="title">方便维护</h1>
      	   	    		<p class="intro">提供免费维护 质量稳,低耗损,轻松维护</p>
      	   	    		<a class="link" href="<?php echo $page2['url'];?>">立即咨询</a>
      	   	    	</li>
      	   	    	<li class="item">
      	   	    		<div class="icon">
      	   	    			<img src="<?php echo SKIN_PATH;?>images/truck-facing-right-64x64.png" alt="">
      	   	    		</div>
      	   	    		<h1 class="title">上门服务</h1>
      	   	    		<p class="intro">送货上门、现场安装、指导操作 24小时随时响应!</p>
      	   	    		<a class="link" href="<?php echo $page2['url'];?>">立即咨询</a>
      	   	    	</li>
      	   	    	<li class="justify-left-fix"></li>
      	   	    </ul>
      	   </div>
    </div>
    <?php } ?>
    <div class="home--impression">
      	   <div class="container">
      	   	    <div class="title">
      	   	    	<h1 class="en">IMPRESSION</h1>
      	   	    	<h1 class="zh">印象贏世</h1>
      	   	    </div>
      	   	    <div class="l-left">
      	   	    	<ul class="list">
      	   	    		<li class="item l-01">
      	   	    			<img src="<?php echo SKIN_PATH;?>images/logo2.png" alt="">
      	   	    			<div class="name">
      	   	    				<span class="zh">赢世自动化设备</span>
      	   	    				<span class="en">YINGSHI AUTOMATION</span>
      	   	    			</div>
      	   	    			<div class="detail">
      	   	    				<p class="l-01">CHUNQI</p>
      	   	    				<p class="l-02">AUTOMATION</p>
      	   	    				<p class="l-03">EQUIPMENT</p>
      	   	    				<p class="l-04">专注<span class="point">磨床自动化</span></p>
      	   	    				<p class="l-05">Focused on grinding machine automation</p>
      	   	    				<p class="l-06">www.13912342929.com</p>
      	   	    			</div>
      	   	    		</li>
      	   	    		<li class="item l-02">
      	   	    			<img src="<?php echo SKIN_PATH;?>images/01.jpg" alt="">
      	   	    		</li>
      	   	    		<li class="item l-03">
      	   	    			<img src="<?php echo SKIN_PATH;?>images/02.jpg" alt="">
      	   	    		</li>
      	   	    		<li class="item l-04">
      	   	    			<img src="<?php echo SKIN_PATH;?>images/03.jpg" alt="">
      	   	    		</li>
      	   	    	</ul>
      	   	    </div>
      	   	    <div class="l-right">
      	   	    	<div class="about">
                  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=5dc18244e523e4f8f945f0b7a320cf14&action=getOne&fields=content&where=catid+eq+24&name=page&limit=1&return=r_jianjie\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'getOne')) {$r_jianjie = $content_tag->getOne(array('fields'=>'content','where'=>'catid eq 24','name'=>'page','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      	   	    		<h2 class="title">公司简介</h2>   
      	   	    		<div class="content">
      	   	    					<?php echo $r_jianjie['content'];?>	
      	   	    		</div>
      	   	    	</div>
                  <?php if($pic4) { ?>
      	   	    	<div class="honors">
      	   	    		<h2 class="title"><?php echo $pic4['catname'];?></h2>
      	   	    		<div class="partials--slids">
      	   	    			   <div class="picScroll1">
                          <div class="tempWrap">
                          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b2078d2867144731bb6afa254da37992&action=lists&catid=%24pic4%5B%27catid%27%5D&siteid=%24siteid&order=id+DESC&return=honors\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$honors = $content_tag->lists(array('catid'=>$pic4['catid'],'siteid'=>$siteid,'order'=>'id DESC','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                              <ul>
                              <?php $n=1;if(is_array($honors)) foreach($honors AS $h) { ?>                              
                                  <li>
                                     <a href="<?php echo $h['url'];?>" title="<?php echo $h['title'];?>">
                                     <img src="<?php echo $h['thumb'];?>" alt="" title="<?php echo $h['title'];?>" ></a>
                                  </li>
                              <?php $n++;}unset($n); ?>   
                              </ul>
                          </div>
                           <a class="prev prevStop"><</a>
                           <a class="next">></a>
                       </div>
                      <script type="text/javascript">jQuery(".picScroll1").slide({ mainCell:"ul",autoPlay:true,effect:"left", vis:2, scroll:1, autoPage:true, pnLoop:false });</script> 
      	   	    		</div>
      	   	    	</div>
                  <?php } ?>
      	   	    </div>
      	   </div>
    </div>
    <?php if($pic3) { ?>
    <div class="home--for-the-products">
      	   <div class="container">
      	   	    <div class="partials--module-title">
      	   	    	<span class="left left1">针对</span>
      	   	    	<span class="right right1">产品</span>
      	   	    	<div class="divider"></div>
      	   	    </div>
      	   	    <div class="partials--module-title-slogan"><?php echo $pic3['description'];?></div>
      	   	        <div class="partials--slids">
      	   	    	       <div class="picScroll2">
                          <div class="tempWrap">
                           <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=1b31aac96aab7265799ee7fa885cbd42&action=lists&catid=%24pic3%5B%27catid%27%5D&siteid=%24siteid&order=id+DESC&return=divider\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$divider = $content_tag->lists(array('catid'=>$pic3['catid'],'siteid'=>$siteid,'order'=>'id DESC','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                              <ul>
                              <?php $n=1;if(is_array($divider)) foreach($divider AS $did) { ?>
                                  <li>
                                     <a href="<?php echo $did['url'];?>" title="<?php echo $did['title'];?>">
                                     <img src="<?php echo $did['thumb'];?>" alt="" title="<?php echo $did['title'];?>" ></a>
                                  </li>
                              <?php $n++;}unset($n); ?>      
                              </ul>
                          </div>
                           <a class="prev prevStop"><</a>
                           <a class="next">></a>
                       </div>
                      <script type="text/javascript">jQuery(".picScroll2").slide({ mainCell:"ul",autoPlay:true,effect:"left", vis:5, scroll:1, autoPage:true, pnLoop:false });</script>
      	   	        </div>
      	   	    </div>
      	   </div>
    </div>
    <?php } ?>
    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=9da78a905e98be3cccaeeab1ab8c13ea&sql=select+%2A+from+phpcms_category+where+parentid+%3D+0+and+modelid%3D11+and+isindexcol%3D1+order+by+listorder+ASC%2Ccatid+ASC&return=video\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("select * from phpcms_category where parentid = 0 and modelid=11 and isindexcol=1 order by listorder ASC,catid ASC LIMIT 20");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$video = $a;unset($a);?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
    <?php $video1 = $video[0];?>
    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=2658a9ac4e55aee3da643f2fb6b82ded&sql=select+%2A+from+phpcms_category+where+parentid+%3D+0+and+modelid%3D1+and+isindexcol%3D1+order+by+listorder+ASC%2Ccatid+ASC&return=news\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("select * from phpcms_category where parentid = 0 and modelid=1 and isindexcol=1 order by listorder ASC,catid ASC LIMIT 20");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$news = $a;unset($a);?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
    <?php $news1 = $news[0];?>
    <div class="home--video-and-news">
      	   <div class="container">
                <?php if($video1) { ?>
      	   	    <div class="video">
      	   	    	<div class="partials--module-title-more">
      	   	    		<h2 class="title"><span class="l-left">视频</span><span class="l-right">中心</span></h2>
      	   	    		<a class="more" href="<?php echo $video1['url'];?>">查看更多</a>
      	   	    	</div>
                   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=f31a13eccbc7cd5bbb8504273c4cff8a&action=lists&catid=%24video1%5B%27catid%27%5D&siteid=%24siteid&order=id+DESC&num=1&return=vidArr\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$vidArr = $content_tag->lists(array('catid'=>$video1['catid'],'siteid'=>$siteid,'order'=>'id DESC','limit'=>'1',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                  <?php $n=1;if(is_array($vidArr)) foreach($vidArr AS $vid) { ?>
      	   	    	<div class="first-video">
      	   	    		<a class="picture" href="<?php echo $vid['url'];?>">
      	   	    		   <img src="<?php echo $vid['thumb'];?>">
      	   	    		</a>
      	   	    		<div class="detail">
      	   	    			<span class="title"><?php echo $vid['title'];?></span>
      	   	    			<a class="detail-link" href="<?php echo $vid['url'];?>">「查看详情」</a>
      	   	    		</div>
      	   	    	</div>
                  <?php $n++;}unset($n); ?>
      	   	    </div>
                <?php } ?>
                <?php if($news1) { ?>
      	   	    <div class="news">
      	   	    	<div class="partials--module-title-more">
      	   	    	    <h2 class="title">
      	   	    	         <span class="l-left">新闻</span>
      	   	    	         <span class="l-right">中心</span>
      	   	    	    </h2>
      	   	    	    <a class="more" href="<?php echo $news1['url'];?>">查看更多</a>
      	   	    	</div>
                  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=5127e13ee78ae6cd5dd8b88a6415d624&action=lists&catid=%24news1%5B%27catid%27%5D&siteid=%24siteid&order=id+DESC&num=6&return=news1Arr\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$news1Arr = $content_tag->lists(array('catid'=>$news1['catid'],'siteid'=>$siteid,'order'=>'id DESC','limit'=>'6',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                  <?php $n=1;if(is_array($news1Arr)) foreach($news1Arr AS $na) { ?>
                  <?php if($n==1) { ?>
      	   	    	<div class="first-news">
      	   	    	    <a class="picture" href="<?php echo $na['url'];?>">
      	   	    	        <img src="<?php echo SKIN_PATH;?>images/logo.png" width="138px" height="86px">
      	   	    	    </a>
      	   	    	    <div class="info">
      	   	    	        <a class="title" href="<?php echo $na['url'];?>"><?php echo $na['title'];?></a>
      	   	    	        <p class="intro"><?php echo $na['description'];?><a class="detail-link" href="<?php echo $na['url'];?>">「查看详情」</a>
      	   	    	        </p>
      	   	    	    </div>
      	   	    	</div>
                  <?php } else { ?>
                  <?php $newslist[] = $na;?>
                  <?php } ?>
                  <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                  <?php $n++;}unset($n); ?>
      	   	    	<ul class="latest-news">
                      <?php $n=1;if(is_array($newslist)) foreach($newslist AS $nl) { ?>
      	   	    	    <li class="item">
      	   	    	        <a href="<?php echo $nl['url'];?>"><?php echo $nl['title'];?></a>
      	   	    	    </li>
      	   	    	    <?php $n++;}unset($n); ?>
      	   	    	</ul>
      	   	    </div>
                <?php } ?>
      	   </div>
    </div>
    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=66463cbdeb19d6e7e1e75ffa3722a7e8&action=getRecord&name=category&fields=catid%2Ccatname%2Ccatdir&where=catid+eq+29&return=links\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'getRecord')) {$links = $content_tag->getRecord(array('name'=>'category','fields'=>'catid,catname,catdir','where'=>'catid eq 29','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
    <?php $link=$links[0];?>
    <?php if($link) { ?>
    <div class="home--links">
      	   <div class="container">
      	   	    <h2 class="title">
      	   	        <span class="zh"><?php echo $link['catname'];?></span>
      	   	        <span class="divider">/</span>
      	   	        <span class="en"><?php echo $link['catdir'];?></span>
      	   	    </h2>
                <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7d37250c8f9f8f775c47c555f4ac6557&action=lists&catid=%24link%5B%27catid%27%5D&siteid=%24siteid&order=id+DESC&num=10&return=linkArr\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$linkArr = $content_tag->lists(array('catid'=>$link['catid'],'siteid'=>$siteid,'order'=>'id DESC','limit'=>'10',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
      	   	    <ul class="links">
                  <?php $n=1;if(is_array($linkArr)) foreach($linkArr AS $lk) { ?>
      	   	        <li class="item">
      	   	            <a href="<?php echo $lk['url'];?>" target="_blank"><?php echo $lk['title'];?></a>
      	   	        </li>
                  <?php $n++;}unset($n); ?>
      	   	    </ul>
      	   	    <hr>
      	   </div>
    </div>
    <?php } ?>
</div>
<?php include template("content","footer"); ?>